import {javaInstance} from '@/utils/https.js'

// 获取作品列表
export const commentPageApi = (params,data) => {
    return javaInstance({
        url: '/comment/commentsPage',
        method: 'POST',
        params,
        data
    })
}

export const updatecommentApi = (data) => {
    return javaInstance({
        url: '/comment/update',
        method: 'PUT',
        data
    })
}



export const delcommentByIdApi = (params) => {
    return javaInstance({
        url: '/comment/delById',
        method: 'DELETE',
        params
    })
}